package com.wenshi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wenshi.system.domain.Alarm;

import java.util.List;

public interface ISysAlarmService extends IService<Alarm> {

    List<Alarm> getByDeviceIpList(String deviceIp);

    List<Alarm> getNewAlarm(String deviceIp);

    boolean clear(Alarm alarm);

    void resetAllAlarm(String deviceIp);

    boolean clearAllAlarm(String deviceIp);
}
